package com.indexingsystem.boss.admin.mapper;

import com.indexingsystem.boss.entity.IdxThemeTableGroup;
import com.indexingsystem.boss.entity.IdxThemeTableGroupWithBLOBs;

import java.util.List;

public interface IdxThemeTableGroupMapper {
    int deleteByPrimaryKey(Integer themeGroupId);

    int insert(IdxThemeTableGroupWithBLOBs record);

    int insertSelective(IdxThemeTableGroupWithBLOBs record);

    IdxThemeTableGroupWithBLOBs selectByPrimaryKey(Integer themeGroupId);

    int updateByPrimaryKeySelective(IdxThemeTableGroupWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(IdxThemeTableGroupWithBLOBs record);

    int updateByPrimaryKey(IdxThemeTableGroup record);

    List<IdxThemeTableGroupWithBLOBs> selectAll();

//    Integer insertReturnId(IdxThemeTableGroupWithBLOBs idxThemeTableGroupWithBLOBs);
//
//    void updateArrChildIdByPrimaryKeySelective(IdxThemeTableGroupWithBLOBs idxThemeTableGroupWithBLOBs);
//
//    Integer selectArrChildId(Integer themeGroupId);

    List<IdxThemeTableGroupWithBLOBs> selectByParentId(List<Integer> parentIdList);

    List<IdxThemeTableGroupWithBLOBs> getThemeGroupById(Integer themeGroupId);

    Integer deleteByIdBatch(List<String> list);
}